package com.tl.boot.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * com.tl.boot.config -- PublicApiConfig
 * Description:
 * Created by joshua_liu <a href="mailto:joshualwork@163.com"></a>
 * On 2019/9/12 10:37
 */
@Component
@ConfigurationProperties(prefix = "pbApi")
public class PublicApiConfig {
    private String[] apiPatterns;

    public String[] getApiPatterns() {
        return apiPatterns;
    }

    public void setApiPatterns(String[] apiPatterns) {
        this.apiPatterns = apiPatterns;
    }
}
